﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.SAMPLES.SAMPLES_01
{
    class DOGS: Animals
    {
        bool canh;

        public bool CANH
        {
            get { return canh; }
            set { canh = value; }
        }

        public DOGS(bool Mat, bool Chan, bool Canh): base(Chan, Mat)
        {
            canh = Canh;
        }

        public bool BietSua()
        {
            return true;
        }
        public bool BietVayDuoi()
        {
            return true;
        }
    }
}
